package system

import "crmeb-common/global"

// SystemUserLevel 系统用户等级
type SystemUserLevel struct {
	global.BaseModel
	Name string `json:"name" gorm:"column=name;comment:会员名称"`

	Experience int32 `json:"experience" gorm:"column=experience;comment:达到多少升级经验"`

	IsShow bool `json:"isShow" gorm:"column=is_show;comment:是否显示 1=显示,0=隐藏"`

	Grade int32 `json:"grade" gorm:"column=grade;comment:会员等级"`

	Discount int32 `json:"discount" gorm:"column=discount;comment:享受折扣"`

	Icon string `json:"icon" gorm:"column=icon;comment:会员图标"`

	BackImage string `json:"backImage" gorm:"column=back_image;comment:用户等级背景图"`

	BackColor string `json:"backColor" gorm:"column=back_color;comment:用户等级文字背景色"`
}
